﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Sisocana.Core.Models.WSBusquedaModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Create Search Integration Resource
</asp:Content>


<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
    <%--para el menu para el menu--%>
    	
    <link href="../../Content/tabbedContent.css" rel="stylesheet" type="text/css"/>
	<script src="../../Scripts/tabbedContent.js" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/jquery-ui-1.8.11.js") %>" type="text/javascript"></script>
    <link href="<%: Url.Content("~/Content/themes/base/jquery.ui.all.css") %>" rel="stylesheet" type="text/css" />
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2> Create Search Integration Resource</h2>
  <script src="<%: Url.Content("~/Scripts/jquery-ui-1.8.11.js") %>" type="text/javascript"></script>
    <link href="<%: Url.Content("~/Content/themes/base/jquery.ui.all.css") %>" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript">
        $(document).ready(function () {
            $("p a, input:submit,input:file ").button();
        });
    </script>
<script src="<%: Url.Content("~/Scripts/jquery.validate.min.js") %>" type="text/javascript"></script>
<script src="<%: Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js") %>" type="text/javascript"></script>

<% using (Html.BeginForm()) { %>
    <%: Html.ValidationSummary(true) %>
   
    

       
        <%:Html.HiddenFor(model => model.idSitio) %>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.nombre,"Name") %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.nombre) %>
            <%: Html.ValidationMessageFor(model => model.nombre) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.url,"Url") %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.url) %>
            <%: Html.ValidationMessageFor(model => model.url) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.descripcion,"Description") %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.descripcion) %>
            <%: Html.ValidationMessageFor(model => model.descripcion) %>
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    
<% } %>

<div>
     <%: Html.ActionLink("Back to List", "Conf", new { idsitio = Model.idSitio, tab = 9 })%>
</div>

</asp:Content>
